package proxy;/*
* @auther 顶风少年 
* @mail dfsn19970313@foxmail.com
* @date 2019-07-31 22:55
* @notify 
* @version 1.0
*/
public class ProxySubject extends Subject {
    private RealSubject realSubject = new RealSubject();

    public void request(){
        System.out.println("真实角色执行前");
        realSubject.request();
        System.out.println("真实角色执行后");
    }
}
